meson: Consolidate function checks
authorMatthias Clasen <mclasen@redhat.com>
Sat, 18 Feb 2023 14:37:36 +0000 (09:37 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 18 Feb 2023 14:37:36 +0000 (09:37 -0500)
commit9f64202a60e587871cfcd60a150ca814b1d75970
treeb1bfeaed1b1daa03366ca582e8237ac5eaebc70d
parent19c362f638e383417ecf08b8f3bf1d581e69abb4
meson: Consolidate function checks

Put all the function checks in one place.
Remove functions we don't actually use,
and add ones that we have #ifdefs for in
in the code. Also add enough includes to
make these checks actually work.

Fixes: #5070
meson.build